package fudan.se.lab2.repository;

import fudan.se.lab2.domain.Rebuttal;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface RebuttalRepository extends CrudRepository<Rebuttal, Long> {
    Rebuttal findByContributorAndMeetingFullNameAndTitle(String contributor,String meetingFullName,String title);
    Rebuttal findByMeetingFullNameAndTitle(String meetingFullName,String title);
    Iterable<Rebuttal> findByMeetingFullName(String meetingFullName);
}
